]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
background: Adjust to gnome-desktop API break
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 20 Jul 2019 10:11:55 +0000 (12:11 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 20 Jul 2019 10:26:28 +0000 (12:26 +0200)
gnome-desktop broke API in commit ca5d61cf24, as it didn't *add* a property
as incorrectly stated in the commit message, but *replaced* an existing one.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1457

js/ui/background.js

index 0c0049b00f59505ec58493cb93d17114fc00e006..16bd1c573d620eb9b1041d1bd5c78a120ee91d3b 100644 (file)
@@ -633,7 +633,7 @@ var Animation = class Animation {
     }
 
     load(callback) {
-        this._show = new GnomeDesktop.BGSlideShow({ filename: this.file.get_path() });
+        this._show = new GnomeDesktop.BGSlideShow({ file: this.file });
 
         this._show.load_async(null, (object, result) => {
             this.loaded = true;